#ifndef __VCD_LOGINED_WINDOW_H__
#define __VCD_LOGINED_WINDOW_H__

#include <string.h>
#include <stdio.h>
#include <config.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include <glib/gprintf.h>
#include <glib/gi18n.h>

G_BEGIN_DECLS

typedef struct 
{
    GtkWidget *logined_window_handle;
    GtkWidget *connect_fix;
    GtkWidget *rdp_button;
    GtkWidget *grade_window;

    GtkWidget *main_fix;
    GtkWidget *vm_list_frame;
    GtkWidget *vm_list_fix;

    //for connect status
    GtkWidget *connect_label;
    GtkWidget *connect_spinner;

    gboolean   isLocalModel;
} logined_window;

extern logined_window *g_logined_window;

void main_logined_window(gboolean is_local_model);
void delete_g_connect_label_and_spinner(void);
void exit_logined_window(void);
void fresh_vm_list(void);
void chanage_connect_status(gboolean connectting);
void vcd_logined_window_show();
void vcd_logined_window_hide();
void main_logined_window_set_localModel(gboolean is_local_model);


G_END_DECLS

#endif
